package com.homedo.odin.solution.contract.pc;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.homedo.odin.solution.model.base.BaseResponse;
import com.homedo.odin.solution.model.dto.UserIncomeDetailResponseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.List;
import lombok.Data;

@ApiModel(description = "用户的方案详细信息")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class UserSolutionDetailResp extends BaseResponse {

    @ApiModelProperty("方案id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long solutionId;

    @ApiModelProperty("方案名称")
    private String solutionName;

    @ApiModelProperty("状态 0:已保存 10:待专家审核  20:审核通过 21:审核驳回 30:上架中 31:下架中")
    private Integer status;

    @ApiModelProperty("状态 _str")
    private String statusStr;

    @ApiModelProperty("是否允许下载 0:不允许 1:允许")
    private Integer isAdmitDownload;

    @ApiModelProperty("下载量")
    private Integer downloadCount;

    @ApiModelProperty("支付次数")
    private Integer payCount;

    @ApiModelProperty("是否收费 0：不收费 1：收费")
    private Integer isFree;

    @ApiModelProperty("收费标准")
    private BigDecimal charges;

    @ApiModelProperty("曝光类型 1：精品 2：普通")
    private Integer expType;

    @ApiModelProperty("分成收入总额")
    private BigDecimal totalAmount;

    @ApiModelProperty("用户收入详情下载")
    private List<UserIncomeDetailResponseBean> list;

}
